home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 139
/
(Vol 139) Sep 24 2011.iso
/
Games
/
kirby.swf
/
scripts
/
frame_11
/
PlaceObject2_88_2
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2011-09-24
|
320b
|
12 lines
onClipEvent(enterFrame){
if(_root.Levelchange._currentframe >= 50)
{
this._y = Math.floor(this._y - (this._y - 700) / 7);
}
else if(_root.Clouds._currentframe >= _root.Clouds._totalframes - 2)
{
this._y = Math.floor(this._y / 5);
}
this._x = Math.round(_root.Level._x / 3);
}